package com.jx.pojo;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;

import java.util.Map;

/**
 * @author ybl
 * @version 1.9
 * @date 2021/5/14 18:43
 */
public class UserDataListener extends AnalysisEventListener<UserData> {
  @Override
  public void invoke(UserData userData, AnalysisContext analysisContext) {
    System.out.println(userData);
  }


  @Override
  public void invokeHeadMap(Map<Integer, String> headMap, AnalysisContext context) {
    System.out.println("表头信息:" + headMap);

  }

  @Override
  public void doAfterAllAnalysed(AnalysisContext analysisContext) {

  }
}
